package com.example.prison.service;

import com.example.prison.entity.Refresh;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【refresh】的数据库操作Service
* @createDate 2023-06-02 16:15:32
*/
public interface RefreshService extends IService<Refresh> {

    PageInfo<Refresh> get(int pageNumber, int pageSize);

    Refresh getById(Integer id);

    int add(Refresh rate);

    int update(Integer id, Integer rate);
}
